	var setting = {
		data : {
			simpleData : {
				enable : true
			}
		}
	};

	var zNodes = [
			{
				id : 1,
				pId : 0,
				name : "用户管理",
				open : true,
				iconOpen : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/1_open.png",
				iconClose : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/1_close.png"
			},
			{
				id : 11,
				pId : 1,
				name : "增加用户信息",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/2.png"
			},
			{
				id : 12,
				pId : 1,
				name : "删除用户信息",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/3.png"
			},
			{
				id : 13,
				pId : 1,
				name : "修改用户信息",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/5.png"
			},
			{
				id : 2,
				pId : 0,
				name : "权限管理",
				open : true,
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/4.png"
			},
			{
				id : 21,
				pId : 2,
				name : "增加管理员角色",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/6.png"
			},
			{
				id : 22,
				pId : 2,
				name : "删除管理员角色",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/7.png"
			},
			{
				id : 23,
				pId : 2,
				name : "增加角色访问的权限",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/8.png"
			},
			{
				id : 24,
				pId : 2,
				name : "删除角色访问的权限",
				icon : "zTree-zTree_v3-master/zTree_v3/css/zTreeStyle/img/diy/8.png"
			}, 
			{
				id : 3,
				pId : 0,
				name : "车票管理",
				open : true
			}, {
				id : 31,
				pId : 3,
				name : "增加车次"
			}, {
				id : 32,
				pId : 3,
				name : "删除车次"
			}, {
				id : 33,
				pId : 3,
				name : "更新车次"
			}

	];

	$(document).ready(function() {
		$.fn.zTree.init($("#treeDemo"), setting, zNodes);
	});